#ifndef MAJORSYSTEMUI_H
#define MAJORSYSTEMUI_H

#include <QWidget>
#include <QMultiMap>
#include "include/MajorSystem.h"

namespace Ui {
	class MajorSystemUI;
}

class MajorSystemUI : public QWidget
{
		Q_OBJECT

	public:
		explicit									MajorSystemUI(QWidget *parent = 0);
		~MajorSystemUI();

	private slots:
		void on_pushButton_clicked();
		void on_useButton_clicked();
		void										update(const QString&);

	private:
		Ui::MajorSystemUI*							ui;

		QMultiMap<QString, MajorSystemWord>			m_words;
};

#endif // MAJORSYSTEMUI_H
